export function skip(page: number, take: number) {
  if (typeof page !== 'number') {
    return 0;
  }
  return Math.max(page - 1, 0) * take;
}
